package cc.wsyw126.service.service;

import cc.wsyw126.nettyRPC.annotation.RpcService;
import cc.wsyw126.service.Login;
import org.springframework.util.StringUtils;

/**
 * Created by Administrator on 2017/7/6.
 */
@RpcService(value = Login.class)
public class LoginImpl implements Login {
    @Override
    public boolean valid(String name) {
        return !StringUtils.isEmpty(name);
    }
}
